﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;

namespace Cabal.Kernel.Output
{
    public interface IRule
    {
        string GetRuleType();
        void FormXmlNode(XmlNode basenode);
        XmlNode ToXmlNode(XmlNode emptynode);
        CheckResult Check(Mission m);
    }
    public enum CheckResult
    {
        Match,    //规则已触发
        NotMatch, //规则未触发
        NotApply, //规则不适用
    }
}
